﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharpSphinx.Util.Configuration
{
    public enum  PropertyTypes
    {
        INT,
        BOOL,
        FLOAT,
        DOUBLE,
        COMPONENT,
        COMPONENT_LIST, 
        STRING,
        RESOURCE, 
        STRING_LIST 

        
    }



    public class PropertyType
    {


        public PropertyType()
        {



        }

        public bool validateString(String obj)
        {
            if (obj.ToLower().StartsWith("resource:/"))
                return true;


            if (obj.IndexOf(':') == -1)
            {

                obj = "File:" + obj;
            }

            new Uri(obj);
            return true;
        }

        private string DisplayName;


     




    }
}
